AmeliaBooking\Application\Services\User\UserApplicationService B

Total Complexity 83
Dependencies 19
Dependents 0
Total lines 477
Lines of code 247
Logical lines of code 136
Comment lines 127
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
getAuthenticatedUserResponse()
B
37 17 73
authorization()
B
47 19 31
getAuthenticatedUser()
A
44 13 42
getAppointmentsCountForUser()
A
45 7 41
setWpUserIdForExistingUser()
A
54 8 20
setWpUserIdForNewUser()
S
56 7 17
isAmeliaUser()
S
67 4 8
isAdminAndAllowedToBookAtAnyTime()
S
69 3 6
isCustomer()
S
78 2 3
isProvider()
S
78 2 3
__construct()
S
81 1 3